Revert "Ignore filename extensions in sort keys"

This reverts commit 8d47f8077df33c01ff2d4c815e746b143dcea823.
Improve the documentation