tweak so that sort is not included in devices which are low on flash