sort and fix dash