And I'd probably refactor the sorting method, in regards to how actual comparisons are made, but maybe it's just me... @andrerom, @lolautruche ?