different sort idea

2 ands 1
added Basic functions in matlab