0.5: sorting

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>