Revert "attempt 2"

This reverts commit 7e5a57c58264397bee6e73d38a160ceb6d46cc13.
Revert "more fixes"

This reverts commit e2b10189422c13f9bacc3e52f89d8a2c2606dbd9.
Revert "added more sort_i.c"

This reverts commit 9dfbebea80d013ae57b6ffbb1fcf8213b92c6d2c.
Revert "added sort_i.c"

This reverts commit 340616ee4f9515bb49645c71ea802818b7f44443.

Conflicts:
	sort/sort_i.c
Revert "inlined a few things"

This reverts commit b235fdeae65c52915b1e9e45be8398b67bd6accf.