Using bubble-sort. Note, that we use an index array, which maps to the real-model decorated by this class. So, we don't change the order of the real model data. author: fdietz