Sorting #2

Signed-off-by: Baudouin Duthoit <baud.duthoit@gmail.com>