move sort up
break before empty iteration
Merge pull request #34 from waneka/bugfix_ghostbuttons

Bugfix ghostbuttons