WIP: sort features