Fix bash scripts
Make the engine actually sort the given items.