// type okeh = Array<number>;
// const hello : okeh = [2, 1];
// const sort: okeh = hello.sort((a,b)=> {
// console.log('var a =',a);
// console.log('var b =',b);
// if(a > b){
// console.log('condition >');
// return 1
// }
// console.log('var a after=',a);
// console.log('var b after=',b);
// if(a < b){
// console.log('condition <');
// return -1
// }
// console.log('condition default');
// return 0
// })
// --------- ||
// 1 is Asc
// -1 is Desc
type arrayOfNumber = Array<number>;
const beforeSort : arrayOfNumber = [2, 1];
const afterSort : arrayOfNumber = beforeSort.sort((a,b) => -1)
console.log(afterSort)