The sorts (disk) Oracle metric indicates if the number of disk writes is non-zero for a given sort operation, if so, then this statistic is incremented
sorts(memory) :The sorts memory Oracle metric indicates if the number of disk writes is zero, then the sort was performed completely in memory and this statistic is incremented.