Fixed sorting disks and partitions. Added a new helper func to partition_module